
package ch.hearc.coursJava.GUI.j2D.tableAnimerHSB.settings;

public class RangeeSettings
	{

	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/

	public RangeeSettings()
		{
		this(NBR_IMAGE, DELTA_ALPHA);
		}

	public RangeeSettings(int nbrImage, double dAlpha)
		{
		this.nbrImage = nbrImage;
		this.dAlpha = dAlpha;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	/*------------------------------*\
	|*				Set				*|
	\*------------------------------*/

	public void setNbrImage(int nbrImage)
		{
		this.nbrImage = nbrImage;
		}

	public void setdAlpha(double dAlpha)
		{
		this.dAlpha = dAlpha;
		}

	/*------------------------------*\
	|*				Get				*|
	\*------------------------------*/

	public int getNbrImage()
		{
		return this.nbrImage;
		}

	public double getdAlpha()
		{
		return this.dAlpha;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/

	// Input Output
	private int nbrImage;
	private double dAlpha;

	/*------------------------------*\
	|*			  Static			*|
	\*------------------------------*/

	public static final int NBR_IMAGE = 10;
	public static final double DELTA_ALPHA = 2 * Math.PI / NBR_IMAGE;

	}
